home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_plotutils.idb / usr / freeware / share / ode / qcd.ode.z / qcd.ode
Encoding:
Text File  |  1998-10-28  |  357 b   |  22 lines

  1. # You may run this example by doing
  2. #
  3. #    ode < qcd.ode | graph -T X -C
  4. # This simulates a coupled system of ordinary differential equations that
  5. # arises in the mathematical theory of quantum chromodynamics (QCD).
  6. #
  7. # Source: Griffiths et al., J. Math. Phys.
  8.  
  9. f' = fp
  10. fp' = -f*g*g
  11. g' = gp
  12. gp' = g*f*f
  13.  
  14. f = 0
  15. fp = -1
  16. g = 1
  17. gp = -1
  18.  
  19. print t, f
  20. step 0, 5
  21.